{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% translate "Team" %}{% endblock %} {% block content %}

{% translate "Team" %}

{% translate "Everyone who can sign in. Supervisors also see giving, reports and this page." %}

{% if user.is_superuser %}

{% blocktranslate trimmed with n=super_count max=super_limit %}Super users: {{ n }} of {{ max }}{% endblocktranslate %} · {% blocktranslate trimmed with n=admin_count max=admin_limit %}Administrators: {{ n }} of {{ max }}{% endblocktranslate %}

{% endif %}
{% if user.is_superuser %}
{% translate "Add team member" %}
{% endif %}
{% if pending and user.is_superuser %}

{% translate "Waiting for approval" %}

{% translate "Accounts made before sign-up was closed" %}
{% endif %}
{% for p in people %} {% if p.is_supervisor %}{{ p.username }}{% else %}{{ p.get_full_name|default:p.username }}{% endif %} {% endfor %}
{% translate "Name" %}{% translate "Signs in as" %}{% translate "Role" %}{% translate "Language" %}{% translate "Calls this month" %}{% translate "Open follow-ups" %}{% translate "Last signed in" %}
{{ p.display_name }}{% if not p.is_active %} {% translate "Can’t sign in" %}{% endif %} {% if p.is_superuser %}{{ p.role_label }}{% else %}{{ p.get_role_display }}{% endif %}{% if p.can_plan_shifts and not p.is_superuser %} {% translate "Plans shifts" %}{% endif %} {% if p.language %}{{ p.get_language_display }}{% else %}{% translate "Church default" %}{% endif %} {{ p.calls_month }} {{ p.open_follow_ups }} {% if p.last_login %}{{ p.last_login|when }}{% else %}{% translate "Never" %}{% endif %} {% if p.role != "transporter" or p.is_superuser %}{% translate "Record" %}{% endif %}{% if user.is_superuser %}{% translate "Edit" %}{% endif %}
{% endblock %}